namespace Pinky.Xml.BasicConverters
{
    public class DoubleConverter : ITypeConverter<double>
    {
        public double FromString(string data)
        {
            return double.Parse(data);
        }

        public string ToString(double data)
        {
            return data.ToString();
        }
    }
}